package BryantChad.LunchTimeScoreCard;

import java.io.Serializable;

public class Player extends AbstractPlayer implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int score_;

	public Player() {
		super();
		score_ = 0;		
	}

	public Player(String name, int score) {
		super(name);
		score_ = score;		
	}
	
	public int getScore() {
		return score_;
	}
	
	public void setScore(int score) {
		score_ = score;
	}
	
	public void addToScore(int scoreIncrease) {
		score_ += scoreIncrease;
	}
}
